<?php

	// add the current directory to the include path.. 
	set_include_path(get_include_path() . ":" . dirname(__FILE__));
	
	//cms base path
	
	
	define("CMS_SITE_HOME" , "/home/innovanet/sites/mairangiarts.co.nz/htdocs/");
	define("CMS_CORE_HOME" , "/usr/local/gravitate/");
	define("CMS_DIR" , CMS_CORE_HOME . "cms.201003310000/");

	
	
	define("CMS_HOME_DIR", CMS_DIR . "html/");
	define("CMS_CONFIG_DIR", CMS_DIR . "config/" );
	
	define("CMS_TMP_DIR" , "/tmp/");
	
	//this is a cock up.. as really it could be seen as a little missleading
	define("CMS_SITE_DIR", CMS_SITE_HOME . "site/");
	define("CMS_SITE_HOME_DIR",CMS_SITE_DIR . "html/" );
	define("CMS_SITE_CONFIG_DIR", CMS_SITE_DIR . "/config/");
	
	set_include_path(get_include_path() . ":" . CMS_SITE_HOME );
	
	//database dsn
	define("CMS_DATABASE_HOST", "localhost");//"unix(/tmp/mysql.sock)");
	define("CMS_DATABASE_USER","mairangiarts");
	define("CMS_DATABASE_DATABASE", "mairangiarts");//originat
	define("CMS_DATABASE_PASSWORD", "clear39plastic");//c0f4glrq
	
	define("CMS_DSN","mysql://" . CMS_DATABASE_USER . ":" . CMS_DATABASE_PASSWORD . "@" . CMS_DATABASE_HOST . "/" .CMS_DATABASE_DATABASE);
	
	//the host name to use
	define("CMS_HTTP_HOST","http://mairangiarts.co.nz");

	define("CMS_EMAIL_FROM","admin@gravitate.co.nz ");
	define("CMS_SMTP_HOST","localhost");

	
	define("CMS_ENABLE_USER_PERMISSIONS", false);
		
	define("CMS_ENABLE_SITE_CONTENT", false);
	
	define("CMS_WRITER_ENABLE_TRANSACTIONS", false );
	
	//Google Maps (only for suzuki.innovanet.co.nz)
	define("GOOGLE_MAPS_KEY", "");//innovanet
	//define("CMS_LIST_ENGINE", "NULLListEngine");
	define("CMS_LIST_ENGINE", "PHPListCmsMailoutEngine");

	
	define('CMS_INCLUDE_ADDITIONAL_SITE_CONFIG',true);
	
	
	//list of document types to search/index.... etc..
	define("CMS_SEARCH_ALLOWED_DOCTYPES", "docModel,bodyBlock,docNews,docEvent,docDealer,docAccessory,pagebuilder");
	
	if (!defined('CMS_APC_ENABLED'))
		define('CMS_APC_ENABLED', false);

	$hasAPC =  false;//CMS_APC_ENABLED  && function_exists('apc_add');
		
	if (!defined('CMS_APC_TTL'))
		define('CMS_APC_TTL', 3600);//one hour.. this will need to be tuned..
		
	define('CMS_MAILOUT_IMAGES', true);
	
	define("ENQUIRY_EMAIL_ADDRESS", "michelle@mairangiarts.co.nz");
	
	define("TUTOR_IMAGE_FIELDID",20224);
?>
